home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr52 / ncclib.zip / NCCBAR.DOC < prev    next >
Text File  |  1993-05-02  |  5KB  |  60 lines

  1. ┌──────────────────────────────────────────────────────────────────┬───────────┐
  2. │Instance Variables    Value      Description                      │  NccBar   │
  3. ├─────────────────┬─────────────┬──────────────────────────────────┴───────────┤
  4. │MenusActive      │   <lExp>    │ Flag indicating if the pull down menus are   │
  5. │                 │             │ active                                       │
  6. │MouseActive      │   <lExp>    │ Flag indicating if the bar system is to use  │
  7. │                 │             │ the attached mouse                           │
  8. │BarReader        │ <{|b|...}>  │ Get/Set current Reader for Bar system        │
  9. │PromptSpace      │   <nExp>    │ Get/Set number of spaces between each prompt │
  10. │                 │             │ on the bar                                   │
  11. │Menus            │   <aExp>    │ Get/Set array of menu objects attached to    │
  12. │                 │             │ the bar                                      │
  13. │Prompts          │   <aExp>    │ Get/Set array of prompt objects attached to  │
  14. │                 │             │ the bar                                      │
  15. │Row              │   <nExp>    │ Get/Set the row on which the bar is to reside│
  16. │StandardColor    │   <cExp>    │ Default color of the bar                     │
  17. │Inversecolor     │   <cExp>    │ Color of the current prompt on the bar       │
  18. │Lettercolor      │   <cExp>    │ Color of quick letter for each prompt        │
  19. │Grayedcolor      │   <cExp>    │ Color of unselectable prompts                │
  20. └─────────────────┴─────────────┴──────────────────────────────────────────────┘
  21.  
  22. ┌──────────────────────────────────────────────────────────────────┬───────────┐
  23. │Method Functions                Description                       │  NccBar   │
  24. ├──────────────────────────────┬───────────────────────────────────┴───────────┤
  25. │Activate()                    │ Give control to the Bar using the Bar reader  │
  26. │Terminate()                   │ Release the Bar                               │
  27. │Show([<nCurrent>])            │ Display the bar at its current selection or   │
  28. │                              │ prompt number <nCurrent>                      │
  29. │Hide()                        │ Hide the bar from the screen                  │
  30. │Left()                        │ Move Left on the bar                          │
  31. │Right()                       │ Move Right on the bar                         │
  32. │HighLight()                   │ Display the current item on the bar           │
  33. │Display()                     │ Display the bar                               │
  34. │DehighLight()                 │ Display the current item in Standard color    │
  35. │AddMenuPrompt( <nId>    , ;   │ Id of prompt on bar                           │
  36. │               <cTitle> , ;   │ Text of prompt on bar                         │
  37. │               <oMenu>  , ;   │ Menu object to activate when selected         │
  38. │               <lActive>  ;   │ Flag indicating if prompt is selectable       │
  39. │             )                │                                               │
  40. │Barchoice( <nCur>         , ; │ Get/Set Current prompt on bar                 │
  41. │           [<lNoDisplay>]   ; │ Flag indicating if bar is to show itself now  │
  42. │         )                    │                                               │
  43. │BarSelection()                │ Return id of prompt selected from bar         │
  44. │MenuChoice( <nCur>        , ; │ Get/Set current prompt on menu                │
  45. │           [<lNoDisplay>]   ; │ Flag indicating if menu is to show itself now │
  46. │          )                   │                                               │
  47. │MenuSelection()               │ Return id of last selection from bar system   │
  48. │PromptActive( <nId>       , ; │ id of prompt to Get/Set                       │
  49. │              [<lExp>]      ; │ Flag indicating active state of prompt        │
  50. │            )                 │                                               │
  51. │isActivateKey( <nKey> )       │ Test if nKey is an Activate key               │
  52. │isQuickKey( <nKey> )          │ Test if nKey is a Quick key                   │
  53. │PromptQuickKey( <nId>     , ; │ Id to return when key is pressed              │
  54. │                <nKey>      ; │ Quick key to Attach to bar                    │
  55. │              )               │                                               │
  56. │KeySeek(<nKey>)               │ return pointer to where <nKey> was found in   │
  57. │                              │ prompts                                       │
  58. └──────────────────────────────┴───────────────────────────────────────────────┘
  59.  
  60.